package com.eric.service;
import cn.dev33.satoken.util.SaResult;
import com.eric.domain.dto.ProjectInfoDto;
import com.eric.domain.po.ProjectInfo;
import com.github.yulichang.base.MPJBaseService;

/**
 * <p>
 * 项目信息表 服务类
 * </p>
 *
 * @author 新哥
 * @since 2024-03-12
 */
public interface IProjectInfoService extends MPJBaseService<ProjectInfo> {

    SaResult saveOneProjectService(ProjectInfoDto projectinfoDto);

    SaResult deleteOneProjectService(Integer id);

    SaResult modifyOneProject(ProjectInfoDto projectinfoDto);

    SaResult getAllService(Integer cur,Integer pageSize);

    SaResult getOneById(Integer id);

    SaResult getByNameService(String name,Integer pageCount,Integer pageSize);

    SaResult getByContactService(String contact,Integer pageCount,Integer pageSize);

    SaResult getByAddressService(String address,Integer pageCount,Integer pageSize);

}
